home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / tex / xtexcad-.000 / xtexcad- / orig_src / io_trans.h < prev    next >
C/C++ Source or Header  |  1993-03-04  |  2KB  |  64 lines

  1. /* xtexcad  V1.2 - graphic editor for LaTeX */
  2. /* 1991 by K.Zitzmann */
  3. /* header-file io_trans.h */
  4.  
  5. #ifndef IO_TRANSH
  6. #define IO_TRANSH
  7.  
  8.  
  9.  
  10.  
  11.  
  12. /* prototypes */
  13.  
  14. Boolean file_exists(char *fn);
  15. void load_it(char *fn);
  16. void get_line_info(float x, float y, float h, float v, int *x_slp, int *y_slp, float *len);
  17. void get_vector_info(float x, float y, float h, float v, int *x_slp, int *y_slp, float *len);
  18. float newy(float y);
  19. float oldy(float y);
  20. void dimension_update(float x, float y);
  21. void trans_it(char *fn);
  22. void manage_line(int what, FILE *fd);
  23. void manage_vector(int what, FILE *fd);
  24. void manage_filled(int what, FILE *fd);
  25. void manage_framed(int what, FILE *fd);
  26. void manage_dashed(int what, FILE *fd);
  27. void manage_kreis(int what, FILE *fd);
  28. void manage_disc(int what, FILE *fd);
  29. void manage_oval(int what, FILE *fd);
  30. void manage_text(int what, FILE *fd);
  31. void manage_bezier(int what, FILE *fd);
  32. void read_message(void);
  33. void read_framebox(void);
  34. void read_dashbox(void);
  35. void read_filledbox(void);
  36. void read_line(void);
  37. void read_vector(void);
  38. void read_circle(void);
  39. void read_disc(void);                    
  40. void read_oval(void);
  41. void read_bezier(void);
  42. void compute_end_coords(float x, float y, float *h, float *v,float len);
  43. float compute_length(float inp);
  44. void error(char *name);
  45.  
  46.  
  47. extern float l_slope[30][3];
  48. extern float a_slope[20][3];
  49. extern int line_slope;
  50. extern int arrow_slope;
  51. extern struct object_buffer buffer;
  52.     
  53. extern int unit;
  54. extern float ulen;
  55. extern float dim_x_max,dim_x_min,dim_y_max,dim_y_min;
  56.  
  57.  
  58. #endif
  59.  
  60.  
  61.  
  62.  
  63.  
  64.